package com.eshop.modules.order.service.dto;

import java.io.Serializable;

public class OtherDto implements Serializable
{
    private String offlinePostage;
    private String integralRatio;
    private String integralMax;
    private String integralFull;
    
    public String getOfflinePostage() {
        return this.offlinePostage;
    }
    
    public String getIntegralRatio() {
        return this.integralRatio;
    }
    
    public String getIntegralMax() {
        return this.integralMax;
    }
    
    public String getIntegralFull() {
        return this.integralFull;
    }
    
    public void setOfflinePostage(final String offlinePostage) {
        this.offlinePostage = offlinePostage;
    }
    
    public void setIntegralRatio(final String integralRatio) {
        this.integralRatio = integralRatio;
    }
    
    public void setIntegralMax(final String integralMax) {
        this.integralMax = integralMax;
    }
    
    public void setIntegralFull(final String integralFull) {
        this.integralFull = integralFull;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof OtherDto)) {
            return false;
        }
        final OtherDto other = (OtherDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$offlinePostage = this.getOfflinePostage();
        final Object other$offlinePostage = other.getOfflinePostage();
        Label_0065: {
            if (this$offlinePostage == null) {
                if (other$offlinePostage == null) {
                    break Label_0065;
                }
            }
            else if (this$offlinePostage.equals(other$offlinePostage)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$integralRatio = this.getIntegralRatio();
        final Object other$integralRatio = other.getIntegralRatio();
        Label_0102: {
            if (this$integralRatio == null) {
                if (other$integralRatio == null) {
                    break Label_0102;
                }
            }
            else if (this$integralRatio.equals(other$integralRatio)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$integralMax = this.getIntegralMax();
        final Object other$integralMax = other.getIntegralMax();
        Label_0139: {
            if (this$integralMax == null) {
                if (other$integralMax == null) {
                    break Label_0139;
                }
            }
            else if (this$integralMax.equals(other$integralMax)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$integralFull = this.getIntegralFull();
        final Object other$integralFull = other.getIntegralFull();
        if (this$integralFull == null) {
            if (other$integralFull == null) {
                return true;
            }
        }
        else if (this$integralFull.equals(other$integralFull)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof OtherDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $offlinePostage = this.getOfflinePostage();
        result = result * 59 + (($offlinePostage == null) ? 43 : $offlinePostage.hashCode());
        final Object $integralRatio = this.getIntegralRatio();
        result = result * 59 + (($integralRatio == null) ? 43 : $integralRatio.hashCode());
        final Object $integralMax = this.getIntegralMax();
        result = result * 59 + (($integralMax == null) ? 43 : $integralMax.hashCode());
        final Object $integralFull = this.getIntegralFull();
        result = result * 59 + (($integralFull == null) ? 43 : $integralFull.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "OtherDto(offlinePostage=" + this.getOfflinePostage() + ", integralRatio=" + this.getIntegralRatio() + ", integralMax=" + this.getIntegralMax() + ", integralFull=" + this.getIntegralFull() + ")";
    }
}
